#include<stdio.h>
int main (int argc,char *argv[])
{
	int n,i=0;
	scanf("%d",&n);
	while(argv[1][i]!='\0'){
		n=fun(n);
		i++;
		printf("%d\n",n*argc);
	}
}
	int fun(n)
	{
		static int s=0;
		s+=1;
		return s;
	}


